﻿@model SAKS.ViewModels.ReportCreateUpdateModel
@{
    ViewBag.Title = "会议技术报告上传";
    Layout = "~/Views/Project/_FilesLayout.cshtml";
}
<link href="@Url.Content("~/Content/themes/base/validationEngine.jquery.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.validationEngine.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine-ch.js")" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        $(".button").button();
        $("form").validationEngine();
        $(".datepicker").datepicker({
            changeMonth: true,
            changeYear: true,
            dateFormat: 'yy-mm-dd',
            dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
        });
    });
</script>

<form method="post" action="/Project/UploadReport" enctype="multipart/form-data">
    <input type="hidden" id="projectId" name="projectId" value="@ViewBag.ProjectId" />
    <input type="file" id="doc" name="doc" class="validate[required] "/>
          
    <div class="editor-label">
        会议名称
    </div>      
    <div class="editor-field">
        <input type="text" id="ConferenceName" name="ConferenceName" value="@Model.ConferenceName"/>
    </div> 
    <div class="editor-label">
        会议时间
    </div>      
    <div class="editor-field">
        <input type="text" class="datepicker" id="ConferenceDate" name="ConferenceDate" value="@Model.ConferenceDate"/>
    </div> 
    <div class="editor-label">
        会议地点
    </div>      
    <div class="editor-field">
        <input type="text"  id="ConferencePlace" name="ConferencePlace" value="@Model.ConferencePlace"/>
    </div> 

    <div class="editor-label">
        报告名称
    </div>      
    <div class="editor-field">
        <input type="text"  class="validate[required]"  id="ReportName" name="ReportName" value="@Model.ReportName"/>
    </div> 
    <div class="editor-label">
        归档日期
    </div>      
    <div class="editor-field">
        <input type="text" class="datepicker"  id="ArchivedDate" name="ArchivedDate" value="@Model.ArchivedDate"/>
    </div> 
    <div class="editor-label">
        作者
    </div>      
    <div class="editor-field">
        <input type="text"  class="validate[required]" id="ReportWriter" name="ReportWriter" value="@Model.ReportWriter"/>
    </div> 

    <div class="editor-label">
        审核人
    </div>      
    <div class="editor-field">
        <input type="text"  id="ReportChecker" name="ReportChecker" value="@Model.ReportChecker"/>
    </div>

    <div class="editor-label">
        批准人
    </div>      
    <div class="editor-field">
        <input type="text"  id="ReportApprovePerson" name="ReportApprovePerson" value="@Model.ReportApprovePerson"/>
    </div>


    <div class="editor-label">
        摘要
    </div>      
    <div class="editor-field">
        <textarea  id="ReportSummary" name="ReportSummary" value="@Model.ReportSummary"> </textarea>
    </div> 

    <br />
    <input type="submit" class="button" value="保存" />
</form>
@Html.ValidationSummary(true)    



